package com.chen.framework.model.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.root.base.BaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 数据字典data表
 * </p>
 *
 * @author ChenJinLong
 * @since 2023-09-22
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("sys_dict_data")
@ApiModel(value = "DictData对象", description = "数据字典data表")
public class SysDictData extends BaseDO {

    @ApiModelProperty("表主键")
    @TableId("dict_data_id")
    private Long dictDataId;

    @ApiModelProperty("字典id")
    @TableField("dict_id")
    private Long dictId;

    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty("编码")
    @TableField("code")
    private String code;

    @ApiModelProperty("标签名称")
    @TableField("label_name")
    private String labelName;

    @ApiModelProperty("标签值")
    @TableField("label_value")
    private String labelValue;

    @ApiModelProperty("状态：0-正常，1-停用")
    @TableField("status")
    private String status;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

}
